package com.wg.msproductgz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("productspec")
@Schema(description = "商品规格表")
@AllArgsConstructor
@NoArgsConstructor
public class Productspec {
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "商品规格编号")
    private Integer id;

    @Schema(description = "商品编号")
    private Integer productId;

    @Schema(description = "商品规格名称")
    private String specName;
}
